package org.artifact.builder;

import cn.hutool.core.lang.Console;
import cn.hutool.json.JSONUtil;

import java.util.HashMap;
import java.util.Map;

public class Test {
    public static void main(String[] args) throws Exception {

        System.out.println(4800 * 12 * 20);

//		Document dom = XmlUtil.readXML("design.xml");
//		Element design = XmlUtil.getRootElement(dom);
//
//		DBModulebuilder.newBuilder()
//		.setPackageName("org.game.db")
//		.setSourcePath("src/main/java/org/game/db")
//		.setRoot(design)
//		.build();

//		User user = new User();
//		user.setAccount("695990439@qq.com");
//		user.setPassword("3sophie17");
//		System.out.println(user.toString());
        Map<Integer, Integer> map = new HashMap<>();
        map.put(1, 1);
        String json = JSONUtil.toJsonStr(map);

        map = (Map<Integer, Integer>)JSONUtil.toBean(json, Map.class);
        Console.log(map);
        Console.log(map.get(1));
    }
}
